<include file="Public:header"/>
<style>
    body{background:#EBEBEB;}
    .weui_msg .weui_icon_area{width: 100px; height: 100px;margin: 0 auto 10px auto;}
    .weui_msg .weui_icon_area img{ width: 100%; height: 100%;}
    .weui_msg p{margin-bottom: 15px;}
    .weui_msg{padding-top: 15px;}
</style>



<div class="weui_panel"></div>
<div class="weui_panel">
    <div class="weui_panel_bd">
        <div class="weui_msg">
            <div class="weui_icon_area">
                <img src="{$userinfo.headimgurl}"/>
            </div>
            <p>{$userinfo.nickname}</p>
        </div>
    </div>
</div>
<div class="weui_panel">
    <form action="{:U('Accredit/getBind')}" class="form-gets" method="post">
    <div class="weui_panel_bd">
        <div class="weui_cells_form">
            <div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">用户名</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" name="username" type="text" placeholder="请输入用户名"/>
                </div>
            </div>
            <div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">密码</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" name="password" type="password" placeholder="请输入密码"/>
                </div>
            </div>
            <div class="weui_cell"></div>
        </div>
    </div>
        <input type="hidden" value="{$userinfo.openid}" name="open_id"/>
        <input type="hidden" value="{$userinfo.headimgurl}" name="headimgurl"/>
    <div class="bd spacing" style="margin:10px 0;">
        <input type="submit" target-form="form-gets" class="weui_btn weui_btn_primary ajax-post" value="确认"/>
        <a href="" class="weui_btn weui_btn_default">取消</a>
    </div>
    </form>
</div>

<include file="Public:footer"/>

